# Certutil (certificate generator)
This tool generates driver.pfx and compatible certificates for building of Windows source code. It needs for stay up-to date and don't change date on your build machine to get ahead of certificates, that already existed in that source. Notice that it works actually in UNIX systems, there are still no port to Windows yet. Also, if you generating certificates with latest OpenSSL version (3.0 and higher), then `driver.pfx` cannot be installed in Windows operating systems lower than Server 2019/1803 build, so, if you want to get them all work in older versions, simply use older version of OpenSSL (still didn't checked yet).

## Generation
For first, make sure you have Git preinstalled on your machine, as on Linux hosts you will have minor problems dedicated with Perl.
After installing Git, clone this repository and run "Git Shell" here, and do following steps:

Simply, just assign all permissions to all files & folders via `
```
chmod 777 * -R
```
or
```
chmod 777 *.* -R
```
Then convert .sh files from DOS to Unix with this command:
```
dos2unix generate.sh
```
And then, run generation script `
```
./generate.sh
```